﻿using System.Windows.Controls;
using SnakeGame.ViewModels;

namespace SnakeGame.Views
{
    /// <summary>
    /// Interaction logic for SelectPlayer.xaml
    /// </summary>
    public partial class SelectPlayer : Page
    {
        private SelectPlayerViewModel _spPlayerViewModel;

        public SelectPlayer()
        {
            InitializeComponent();
            _spPlayerViewModel = (SelectPlayerViewModel)DataContext;

        }

        public void Initialize(MainFrame mainFrame)
        {
            _spPlayerViewModel.Initialize(mainFrame);
        }

    }
}
